package com.proxy;

/**
 * @author ：zhouhangyong
 * @date ：Created in 2022/6/14 18:40
 * @description：main测试类
 * @modified By：
 * @version:
 */
public class Text {
    public static void main(String[] args) {
//        Cglib的测试类
        ProxyDynamicCGlib proxyDynamicCGlib = new ProxyDynamicCGlib();
        ComputerServiceImpl computerService = (ComputerServiceImpl) proxyDynamicCGlib.getProxyObj(ComputerServiceImpl.class);
        computerService.buyComputer(100);
    }
}
